import request from '@/utils/request'
export const getCategoryApi = () => request.get('/category')
export const usePageCategoryApi = ({ name, page, pageSize }) =>
  request.get('/api/category/page', { name, page, pageSize })
